This repository contains reproduction materials for the paper 'When should the majority rule? Experimental evidence for Madisonian judgments in five cultures' by Bor, Mazepus, Bokemper and DeScioli. 

`A. original data` contains the raw datasets 
- `Minority_Denmark.csv`
- `Minority_Hungary_p1.csv`
- `Minority_Hungary_p2.csv`
- `Minority_India.csv`
- `Minority_Russia.csv`
- `Minority_USA.csv`

`B. command files` contains R scripts reproducing all results, tables, and figures
- `import.R` imports and merges original data and exports them to `C. analysis data`
- `analysis_dataverse.R` reproduces all results 


`C. analysis data` contains datasets produced by analysis 
- `minority_data.Rdata` contains the main dataset
- `minority_all_data.Rdata` is the same but adds non-compliers for a robustness check
- `multilevel_multinom0.Rdata` exports baseline multinomial model, which is difficult to run (requires Stan and a bit of server time). 
- `multilevel_multinom1.Rdata` exports main multinomial model

`D. documents` contains a codebook for the datasets and translation of experimental materials into 4 languages
- `codebook.docx`
- `experiment_Danish.docx`
- `experiment_English.docx`
- `experiment_Hungarian.docx`
- `experiment_Russian.docx`


`log.html` is a log file running analysis code and displaying results
`README.md` is this file 